package com.central.project.service;

import com.central.common.model.*;
import com.central.common.service.ISuperService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author Tindy
 * @date 2021/6/24
 * @describe
 */
public interface ISysProjectService extends ISuperService<SysProject> {

    PageResult<SysProject> findProjects(Map<String, Object> params);

    Integer countByDepartmentId(Long departmentId);

    PageResult<SysProject> findUserProjects(Long userId, Map<String, Object> params);

    List<SysProject> findProByProIds(List<Long> proIds);

    List<SysProject> selectLikeName(String name);

    Result create(SysProject project);
}